//
//  MoveTableViewController.m
//  NaviAndTable
//
//  Created by student on 16/3/5.
//  Copyright © 2016年 NIIT. All rights reserved.
//

#import "MoveTableViewController.h"

@interface MoveTableViewController ()
@property (nonatomic,strong) NSMutableArray *list;
@end

@implementation MoveTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.list = [@[@"Eeny", @"Meeny", @"Miney", @"Moe", @"Catch", @"A",
                   @"Tiger", @"By", @"The", @"Toe"] mutableCopy];
    
    
    // 导航栏左侧添加按钮
    UIBarButtonItem *moveBtn = [[UIBarButtonItem alloc] initWithTitle:@"编辑" style:UIBarButtonItemStylePlain target:self action:@selector(toggleMove)];
    self.navigationItem.rightBarButtonItem = moveBtn;
    
}

@end
